package cn.itcast.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试springboot的java rest
 * create by zhangtian on 2019/1/11
 */
@RestController
@RequestMapping(value = "bootJava")
public class BootJavaController {

    @GetMapping(value = "hello")
    public String sayHelloBootJava() {
        return "Hello boot java ......" ;
    }
}
